package cn.easybuy.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.easybuy.entity.OrderDetail;
@Repository
public interface OrderDetailMapper {
	public void add(OrderDetail detail);

	public void deleteById(OrderDetail detail);
	
	public OrderDetail getOrderDetailById(Integer id);
	
	public List<OrderDetail> getOrderDetailList(Integer orderId);
	
	public Integer queryOrderDetailCount(Integer orderId);
}
